package com.pc_project.domain.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page {

    @ApiModelProperty(value = "分页总数", example = "CoderKled", required = true)
    private Integer pageCount;

    @ApiModelProperty(value = "分页大小", example = "CoderKled", required = true)
    private Integer pageSize;

    @ApiModelProperty(value = "当前页码", example = "CoderKled", required = true)
    private Integer pageNumber;

    @ApiModelProperty(value = "总记录数", example = "CoderKled", required = true)
    private Integer total;

}
